﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020007BB RID: 1979
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetQuestRecordScRsp : IMessage<GetQuestRecordScRsp>, IMessage, IEquatable<GetQuestRecordScRsp>, IDeepCloneable<GetQuestRecordScRsp>, IBufferMessage
	{
		// Token: 0x1700193B RID: 6459
		// (get) Token: 0x060058E2 RID: 22754 RVA: 0x000EF8AD File Offset: 0x000EDAAD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetQuestRecordScRsp> Parser
		{
			get
			{
				return GetQuestRecordScRsp._parser;
			}
		}

		// Token: 0x1700193C RID: 6460
		// (get) Token: 0x060058E3 RID: 22755 RVA: 0x000EF8B4 File Offset: 0x000EDAB4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetQuestRecordScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700193D RID: 6461
		// (get) Token: 0x060058E4 RID: 22756 RVA: 0x000EF8C6 File Offset: 0x000EDAC6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetQuestRecordScRsp.Descriptor;
			}
		}

		// Token: 0x060058E5 RID: 22757 RVA: 0x000EF8CD File Offset: 0x000EDACD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetQuestRecordScRsp()
		{
		}

		// Token: 0x060058E6 RID: 22758 RVA: 0x000EF8E0 File Offset: 0x000EDAE0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetQuestRecordScRsp(GetQuestRecordScRsp other) : this()
		{
			this.hNCPNABAJNE_ = other.hNCPNABAJNE_.Clone();
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060058E7 RID: 22759 RVA: 0x000EF916 File Offset: 0x000EDB16
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetQuestRecordScRsp Clone()
		{
			return new GetQuestRecordScRsp(this);
		}

		// Token: 0x1700193E RID: 6462
		// (get) Token: 0x060058E8 RID: 22760 RVA: 0x000EF91E File Offset: 0x000EDB1E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<QuestRecord> HNCPNABAJNE
		{
			get
			{
				return this.hNCPNABAJNE_;
			}
		}

		// Token: 0x1700193F RID: 6463
		// (get) Token: 0x060058E9 RID: 22761 RVA: 0x000EF926 File Offset: 0x000EDB26
		// (set) Token: 0x060058EA RID: 22762 RVA: 0x000EF92E File Offset: 0x000EDB2E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x060058EB RID: 22763 RVA: 0x000EF937 File Offset: 0x000EDB37
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetQuestRecordScRsp);
		}

		// Token: 0x060058EC RID: 22764 RVA: 0x000EF948 File Offset: 0x000EDB48
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetQuestRecordScRsp other)
		{
			return other != null && (other == this || (this.hNCPNABAJNE_.Equals(other.hNCPNABAJNE_) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060058ED RID: 22765 RVA: 0x000EF998 File Offset: 0x000EDB98
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.hNCPNABAJNE_.GetHashCode();
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060058EE RID: 22766 RVA: 0x000EF9E5 File Offset: 0x000EDBE5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060058EF RID: 22767 RVA: 0x000EF9ED File Offset: 0x000EDBED
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060058F0 RID: 22768 RVA: 0x000EF9F8 File Offset: 0x000EDBF8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.hNCPNABAJNE_.WriteTo(ref output, GetQuestRecordScRsp._repeated_hNCPNABAJNE_codec);
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060058F1 RID: 22769 RVA: 0x000EFA48 File Offset: 0x000EDC48
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.hNCPNABAJNE_.CalculateSize(GetQuestRecordScRsp._repeated_hNCPNABAJNE_codec);
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060058F2 RID: 22770 RVA: 0x000EFA9C File Offset: 0x000EDC9C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetQuestRecordScRsp other)
		{
			if (other == null)
			{
				return;
			}
			this.hNCPNABAJNE_.Add(other.hNCPNABAJNE_);
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060058F3 RID: 22771 RVA: 0x000EFAE9 File Offset: 0x000EDCE9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060058F4 RID: 22772 RVA: 0x000EFAF4 File Offset: 0x000EDCF4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 114U)
				{
					if (num != 120U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					this.hNCPNABAJNE_.AddEntriesFrom(ref input, GetQuestRecordScRsp._repeated_hNCPNABAJNE_codec);
				}
			}
		}

		// Token: 0x040022A0 RID: 8864
		private static readonly MessageParser<GetQuestRecordScRsp> _parser = new MessageParser<GetQuestRecordScRsp>(() => new GetQuestRecordScRsp());

		// Token: 0x040022A1 RID: 8865
		private UnknownFieldSet _unknownFields;

		// Token: 0x040022A2 RID: 8866
		public const int HNCPNABAJNEFieldNumber = 14;

		// Token: 0x040022A3 RID: 8867
		private static readonly FieldCodec<QuestRecord> _repeated_hNCPNABAJNE_codec = FieldCodec.ForMessage<QuestRecord>(114U, QuestRecord.Parser);

		// Token: 0x040022A4 RID: 8868
		private readonly RepeatedField<QuestRecord> hNCPNABAJNE_ = new RepeatedField<QuestRecord>();

		// Token: 0x040022A5 RID: 8869
		public const int RetcodeFieldNumber = 15;

		// Token: 0x040022A6 RID: 8870
		private uint retcode_;
	}
}
